using System.Windows.Messaging;

namespace SilverTraceCallerDemoApp
{
    public static class Log
    {
        private readonly static LocalMessageSender _sender = new LocalMessageSender("TestLog", LocalMessageSender.Global);

        public static void Debug(string s)
        {
            _sender.SendAsync(s);
        }
        public static void Debug(string s, params object[] args)
        {
            _sender.SendAsync(string.Format(s, args));
        }
    }
}